package com.yunxin.core.utils.infra.common.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-06-04
 */
@Getter
public enum OccupationIncomeEnum implements IBaseEnum<Integer> {
    /**
     * 职业收入(元) 0.无要求 1.月收入3500以下 2.月收入3500-6000 3.月收入6000-10000 4.月收入10000-20000 5.月收入20000以上
     */
    NO_REQUIRED(0, "无要求",false),
    INCOME_3500(1, "3500以下",false),
    INCOME_6000(2, "3500-6000",false),
    INCOME_10000(3, "6001-10000",true),
    INCOME_20000(4, "10001-20000",false),
    INCOME_20001(5, "20001以上",false);

    private final Integer value;

    private final String label;

    private final Boolean excellent;
    OccupationIncomeEnum(Integer value, String label,Boolean excellent) {
        this.value = value;
        this.label = label;
        this.excellent = excellent;
    }
}
